add ipython history feature