changed to pvecs