pasting code snippets