add calcmainpersubject