Create switch case