add some score function