Made capacity optional