railway end