Yes, this is new code. No need to point out all the PEP8 mistakes, I'll just go over the diff.