basic write and read done;