new notes function