changed threshold to 50