added logprob to report function