groups_of method works but without logic of buddies and enemies