added pause to game