Better indexOf