more work on chunked text, kinda nasty