start of update to work on python3
more work on python3