turn enum NoteType inco class enum