removing print commands