report function work