start of text class