working on client text handling