use constant instead of hard coded value