beginRead, endRead, beginWrite, endWrite