Use constant instead of boolean value to make code more readable