implemented score tracking