modified printing out