getting score and adding score