Rewrote safetransclosure method so its obvious it is correct.