diff analysis substring search
last version before demo