programsummary const and addProgSummary