working version
scoreboard added