added allOn(red) to turn functions