d cost