what did I change?

not sure what I changed to 3 to make it start working, I think there may
have been indentation errors when exporting from ipython nb, checking to
see what the difference is here..