according to ribes there are two types of contingency the occurrence ones and the functional ones