added multiline support