Put sensors on the basketball, rim/backboard, jerseys and at various places throughout the court. Lasers will be able to accurately pinpoint where the ball and each individual player is located at all times. Actually use technology we already have to make their jobs easier. Implement this with the goal of eventually replacing the human element all together. Maybe at some point the refs will just be there as a physical presence only and not have any discretion over what the AI official is calling.