use named tuple for captured values