edited notes function-ish