each_with_index is useful...