Need to increment before getting the next element