Documented all of the code