updated to python3