slight rejig of pivot
updating pivot