magnet is also a part of the electrical circuit​