semi-functional score counter added (has delay)