adding pair-wise ordinal relationship