updated notebook 4