rail-based-square