add bandgap to energytype