finished scoring portion + scoring test code