extract loop of drcs/gset.