added more lines of code to the Scoreboard class.