integrated D3, cleaning up