working on interface for gamestate.