corrected code so can use variable only for TC for student grad date for...

...mat