factor out the `combined` capture