Selecting safe and competent pilots