adding the CallbackFilterIterator class