added lagrange