removing iterator