add persistent switch