completed basic switch