changed threshold from 20 to 80