Defining thresholds as constants