add override methods for paste function.