proximityMeasurer and oscillationCalculator