added Scoreboard function