add ga/sp credit and GPA func