Work done for string1