use a case statement