Create pasting code