add apply-family to basic functions