Mostly working, except for grading output