added threshold comment