change threshold back to 1