made the client working