updated new_group method