modified rprintf