patched rails