function render notes