like multiline, except easier to use and with flushing enabled