pass ProgramInfo by reference in recordProgramScore