save game implementation (part #1)