Revert "changed foreach loop to displays teams; please don't break"

This reverts commit da5003db9e41c39c7d7153933e0d43d7cee18779.