Dealing with contingencies chiefly means handling,according to law,sudden illegal incidents endangering state security or social order,such as revolts,riots and disturbances,fights with weapons and other group activities that endanger public security.