saving progress from class