Rails around a bend