removed unnecessary code for scoreboard