increased sensitivity and added wait