Crystalline electric field and structural effects in f-electron systems