Added clipboard related functions