Refactor of example to discuss with Burke