handling contingencies