create_report function

Create a report