turn enum NoteType into class enum