added reset() function to notes