added checkgrade