adding logprob
adding a demo