range returns the necessary for iteration