added ipython magic