add stdio to reader