trying to make compatible with python 3.x