added proper within range timeout