added lnprob to res