notes in view function