add scoreboard and make it work