if (chosenGroup.equals(""))
{
Class<? extends AbstractGroupAgent> gtype = getConn().getAllowedGroupTypes().get(
0);
String newGroupID = getConn().createGroup(gtype,
new GroupDataInitialiser(this.uniformRandLong(),
getDataModel().getEconomicBelief()));
//TODO:The following line of code might solve the social position problem
WarGroup.socialBeliefs.put(newGroupID, getDataModel().getSocialBelief());
createGroupAgent(newGroupID); //Create the group agent
return newGroupID;