forgot then keyword in simplified case statement