creation of choose team class