added copy paste and cut functionality