adding groups for selection