initial python3 changes