added get_note_attrs method