Magnet Class added