mutable lambda example