first implementation of savegames