Modified the reporting function to multi-line reporting.