Use check constant instead of hardcoded value