Score Function updated.