updated functor parameter signatures with const