Changes "dom" to "de" and "dem".