trying new strategy, just one each_with_index instead of nested