Title: Magnetic and lattice interaction in 3d transition metal compounds