modifications from april 10th lecture