added pseudo code for cut, copy, paste