code examples from sfpc spring 14