added collapse to teams