changed to Python 3 compatible print