sending class to userracemain works fine