phaser and dir structure