Engineering the electronic structure of lanthanide based materials by