Gauge integration