Added gauges code.