Implemented the ClientAdapter