modify interface Read() and Write()