added each_with_index