Describes what each function does

Describes the overall goal of the functions and explains what each
function does.