store threshold