Shifted to python 3