refining debugging statement