Greatly improved the example.