added exception in gpa