complete the ui