implement "paste" button