Forgot a function in the player_data constructor