Basic read/write working as expected