revised the examples