added ui controller and menu