add scala substring search