fixing up the python