added from ipython!