apply ddd