updated print functions to appease govet