master:  Completed code.