added modulus for logArgLambda (whew)