added analyzeStri,g function in daemon