clean up and made team schedules work