no red background on warning, code REALLY needs to be dried out