refactoring QR player_data