Training the trainers is key.
In the 1960s Boeing were concerned about the accident rate when their shiny jets were being operated by certain companies.
One of the things they instituted was that part of the package of buying a Boeing would be that they would train the training Captains who were going to train the line pilots - this was not optional but mandatory.
There are, of course, many other factors which go to make a safe operation.