removed IPython terminal from code