some python 3 madness.