added cb and cbf for clipboard