finished removing printing debug info on stdout