change to cocos2d