Documented the code