added saving player data