porting to python 3