Added report function