created infinite game-loop inside controller