moved indexOf