only load dd function if it does not exist