Add scoring function.