externalized some constants in io.Reader