Use named constant instead of magic number