pauseGame framework added