make static vars for a thresholds