continue working on text viewer