use AS_CASE rather than "case"