removed threshold class