Add switch field