change to indexOf
I am an idiot