added ipython for testing visualization