connect ui to rt