continued work on text class