improved NoteParser