Han gjorde et treningsproblem til en millionløsning.