Working version of example.