implemented first pass of the scoreboard