I don't think you need ``each_with_index`` here, just ``each``.