Added stubs for the read and write functions