untested unionclosure code