Created interface to mock out UI methods