attempt python 3 compatability