changed army capacity from a static value to a constructor parameter