added proper team assignment from larger list with randomization