automatic sum and grading started; still bugged