comments for functor, warning cleaning