getfn in run