overhaul in python