added pvdiagrams