fixed functor class