score returns an integer