Teamwork on the basketball court