adding score counting