XsAndOsReferee better solution