add lambda and definition