added text export capability