fleshed out the storage of notes