capture doc