#2(GitHub) Refactored common code to report_helper