eliminating console prints