parameterized functions work in context with new functor