hooked up ui to models