completed the ui