got it! makes sense. Let's just use `indexOf()` which is faster than the array since it is native.