it is necessary for us_both reading and writing