used global min/max to calculate intensity, d'oh