consolidating the roundtrip on the closure side.
merging with aws