issues with old hack_tuple necessitate more complicated workaround.