game control and stuff