added func pvcmap