dipole class added