modify reader to except multiline sequences