setredG function

SETRED generic method