PY3 add support for Python 3