added in midterm pcomp