fixed some of the examples to work with new reader