game state stuff.  still learning...