Add report function