Added some scoring functionality