changed indexOf() to search()