Changed to use a lambda equation.