adding the doe and partials