Minor point, but the parentheses around `(this.lapsTime < 500)` are unnecessary, but also, can't you just say `Math.max(this.lapsTime, 500)`?