Add endwise, rails, repeat