Fundamentals of risk management