mText added and errors corrected