getting the ui working