added gamestates to gamestate file. untested