minor changes to the example