basic function created for report.