finished the UI and controllers prepared