translated file with 2to3 to python 3