updated reader example