added states for loading a game and pause