Added functions for report.