improving the example for the tutorial