Probably a matter of personal taste, but I think `index += 1` would be more concise.