works connected to ipython