changed to use Python3