Adding gauges code.