indexOf is not gonna cut it