better handling of note objects