simplify textReader by using textHeap to minimize methods.