added conditional ln