adds Python3 support