add logic to adjust settling time