substring search working