move withPivot example up in the docs