Made Notebook 4 function