Depending on what you're looking for, maybe it should be `i++` instead of `++i`. With `++i` it starts checking in "element1", and with `i++` in "element0".