add iterate condition demo