make lambda mutable