__iter__ simplified