removed get_notes function