functor import