extended the example