use predefined constant instead of magic number