Code snippets and comments from October 4, 2013 lecture