add class MagnetControler