Format case statement