Added possibility to generate resultstring