Non-functioning team logic, hopefully to be fixed soon.