added gamestate prototype