Lee Gauthier implementation is readable and correct