offline string merged

code updated