use a TeeReader in hopes of efficiency