Added comments for the client code