comment code for talleying scores