Another MEMS-based accelerometer is a thermal (or convective) accelerometer. It contains a small heater in a very small dome. This heats the air or other fluid inside the dome. The thermal bubble acts as the proof mass. An accompanying temperature sensor (like a thermistor; or thermopile) in the dome measures the temperature in one location of the dome. This measures the location of the heated bubble within the dome. When the dome is accelerated, the colder, higher density fluid pushes the heated bubble. The measured temperature changes. The temperature measurement is interpreted as acceleration. The fluid provides the damping. Gravity acting on the fluid provides the spring. Since the proof mass is very lightweight gas, and not held by a beam or lever, thermal accelerometers can survive high shocks. Another variation uses a wire to both heat the gas and detect the change in temperature. The change of temperature changes the resistance of the wire. A two dimensional accelerometer can be economically constructed with one dome, one bubble and two measurement devices.