folded up case statement