changed snippet to not insert newline