added simple support to python3