you wouldn't have to do this if you called consume(). incrementing i is what consume() does.