refactoring player_data for all block operations