worked on the examples