removing print statements in spec