Adding text client code