add pivot to assert()