Title: Crystalline electric field effects in rare earth based magnetic and superconducting compounds