with magnetically controlled switches