log probs for numerical reasons