added pruning on cooc