Added the client code