Text this: Statistical mechanics of magnetic non magnetic transitions of rare earth ions in metals.