Refactor pivot
doc strs