compared to Leslie's, consoled logged everything to the point where I understood it, changed variable names for good measure.