added gauges tracking code.