clipboard functionality complete