Add score functionality