commit Prof.'s original code
First Trial-n-Error, without lucky, log it.