add note_factory