Added more team functions. Need to fix selection.