binding pids to gauges