Expand skeleton into working code with comments and example
minor grammar in comment