writte reader_init