complate the ui