added inline documentation to the notebook