* added doctext functionality