How the NBA works