add line to compute logLR