Refactoring example sketches. Time to add some structure.