added all interfaces to the switch statment