adding a UI to controller