[FOLD] finally make iterator work