copy, paste functions added