grade calc
newest code