added dragThreshold to testing