moved gauges code to layout