modificate methods in report.rb