apply `requireFn`