one type of case is an if-then situation