iterator() is now a method