reverted gauges change, added global class and applied it