Transfer to python3