Text this: Beam foil investigation of energy level characteristics of xenon and helium