getting indexOf)( = -1??