added control on the existence of a group