Applied saving score function.