reworked scoreBoard to use a global var - much cleaner