added PauseState