I'd extract this into a separate method `display_report` to make code a bit more clear.