added enum for gamestate