How to overwrite Read() or Write()

solution