Added notes to code.