matching_player array and error_message logic