Magnetic properties and structure of the intermetallic compounds