Conversion of anhydride to acid was performed by hydrolysis in NaOH. Here 800 mg of polymer was dissolved in 2 g of KOH, 20 mL of water in a 100 mL round botom and reflux the mixture for 4 h. This initially dissolved the polymer and at the end, reaction mixture becomes clear. The hydrolyzed polymer was subjected to dialysis using 3.5 KDa cut off membrane for 36 h. After that the polymer was precipitated by the addition of water and HCl(aq). Centrifuging the precipitate was followed by decanting off the supernatant. Wash the precipitate using 0.1 N HCl water three times and dry the precipitate using nitrogen. A brownish solid polymer material was collected.