updated the example