late bind directfn ref