pgm homework