implemented gamestate - debugging