changed print to py3 style