Added a writeup of the functions.