added main team and main game logic