//Made the UI usable in our code