changed to each with index