Created a set Team Function