Example source code to compliment articles on code4node.com