reading and writing data to notes works