trap 0: print to stdout