create reference function executor