changed index to ipython notebook