added save text option