modified the examples