add pivot as a common lib