client side pivoting