changed output order, added garbage collector output file