added copy paste functionality