Still needs the +1 to make the range inclusive: `this.interval - diff + Math.floor(Math.random() * 2 * diff + 1);` but good idea - it removes unnecessary computations