added Multiple teams support