added copy paste feature, command z function