Fix so that red can't be measured multiple times