Does this seem like it is really part of setting_groups?  I need to figure out why this is here or take it out.