Init mega switch case