rewrites so it actually works. die in a fire, python.