use readwrite