pivots and linear