solved problem with scoreboard