working on copy, paste functionality