Add scoring functionality