added a simple scoring metric