Fixed a code block I inadvertently broke, added more comments