make the quickstart example work on Python3