added game state stuff
added game state stuff