Rewrote retraining