updated printf