added UI and buttons