updated methods to setCoins and updated scoreboard