saving and fetching notes now works