added allocString comments