Add reporting function