Add lambda snippet