updated notes and function notes