add ui for maininterface