working on ipython notebook