Use nls instead of hard coded string in Dod