changed CreateScoreboard() method