Extract items[i] to variable