updated print for py3