Add some score calculation logic