actuating magnetically controlled switches