Can now use an initial value which is the same as the first element of the array