Added grades and fixed major errors.