Revise s_group functons