added grade logic to the first certificate issue method