adding the paste event