add scoreboard functionality