made add_dodson re-entrant