updates to running under python 3.3