Add lambda optimization example.