Reverting to python