Added additional comment and documentation