teams functionality added