context setting for risk management