use Python 3 compatible print() syntax