Final version of the notebook