implemented scoreboard