changes to D3PD analysis