boilerplate phaser states