Range based cycles and auto