complete the UI