use pv for aggregate type