added letter grade feature