get capacity