added savegame stuff