reverted snprintf to printf