removed IPython debugging stuff