edited switch