replace string values with constants. improve code readability