Adds comment to the code sample; fixes a typo