Mocked up the client