added template for cocos