Fix unitialized variables
Add scoreboard