k = n-1