report function

Base method for creating a report