doing the UI