notes func done