cleaned up log_predictive stuff