working in the examples