add log prob to totext