Replace "try" with "case"