add reporter function