complete main ui partly