Initial working example.
Some pruning.