refactor scoreboard