capacity check