add support for python3