Use constant instead of magic num