using dataset to select team