initialize view and collection for witness