new notes and new function