changed threshold for isInPocket