pgm
data for model
bug corrected