Polyesteramide based on a. at least one anhydride Al, b. optionally at least one anhydride A2, c. at least one di-alkanolamine, wherein anhydride Al is present in an amount of 50-100% based on the total amount of anhydride, and anhydride A2 is present in an amount of 0-50% based on the total amount of anhydride and whereby the anhydride Al is chosen from the list succinic anhydride, methyl succinic anhydride, maleic anhydride or glutaric anhydride or a combination of any of them and the anhydride A2 is chosen from the list hexahydro phthalic anhydride, phthalic anhydride or methyl-hexahydro phthalic anhydride or a combination of any of them.<br/