Output matching grading working