Added phaser template code