New pivot routine.