working on saving and opening in the pause class