Adding the client code.