more work on handling chunked text