minor changes in the example