determine D