trying to hook ui to the back end, not successful thus far