progress on multiline buffer