add ipython notebook on legacy code