more refactorin' and added energy level controls for tubes