implemented the UI interface assignment