added dump_notes