add pcd capture.