made all obvious python 3 compatability modes, now to test
finished porting to python 3 and testing