The key to victory was creating the right routines.