add example using the injected reader