Make team list functional