add substring finder problem