start switch case for interface states