Wrap lists in a closure