employing a combination of permanent and electromagnets