setRed functionality