HUDLayer can not connect with HelloWorldLayer
===

I want to add HUDLayer to HelloworldLayer but it can not attach.
I show you my code.i am using box2d in my game

HelloworldLayer.mm


    #import "HelloWorldLayer.h"
    #import "HUDLayer.h"
    #define PTM_RATIO 32
    
    @implementation HelloWorldLayer
    +(CCScene *)scene
    {
        CCScene *scene=[CCScene node];
        
        HUDLayer *hudlayer=[HUDLayer node];
        [scene addChild:hudlayer z:1];
        
       // HelloWorldLayer *layer=[[[HelloWorldLayer alloc]initWithHUD:hudlayer]autorelease];
        HelloWorldLayer *layer=[HelloWorldLayer node];
        [scene addChild:layer];
        
        return scene;
    }
    
    -(id) init
    {
    	if( (self=[super init])) 
        {
            //hudlayer=hud;
            
            hudlayer=[[HUDLayer alloc]init];
           [hudlayer sprite];
            CCSprite *ball=[CCSprite spriteWithFile:@"ball1.png"];
            ball.position=ccp(200, 200);
            [self addChild:ball];
    	}
    	return self;
    }
    
    -(void) dealloc
    {
    	[super dealloc];
    }	

@end

    HUDLayer.mm
    
    #import "HUDLayer.h"
    
    
    @implementation HUDLayer
    -(id)init
    {
        if(self=[super init])
        {
    
        }
        return self;
    }
    -(void)sprite
    {
        CCSprite *ball=[CCSprite spriteWithFile:@"ball1.png"];
        ball.position=ccp(100, 200);
        [self addChild:ball];
        
    }
    @end

In this example i want to display two sprite on screen, one is define into HUDLayer and second one is in HelloworldLayer

Please help me

Thanks 