implements event on gauges