updating to run on python3