Fixed purge bug; Added Pivots