fixup: replace new lambda syntax with Proc