removed call to printf