add some color
bind handlers to data and thresholds