lint: changed next_item to be a rotation of previous to cut down on
resources.