Implemented iterator for advanced question