Magnetic materials are crucial components in many components used in renewable energy applications. Especially, new permanent magnets without rare earth elements are needed for energy conversion devices. Here we would like to investigate the temperature dependences of the magnetic- and crystal structure of two new magnetic materials, Fe5SiB2 and AlFe2B2. The compounds are synthesized with isotope pure 11B to minimize the absorption from the sample. The results expected from these measurements are important for the possible application of these materials in renewable energy applications.