The present invention relates to a method of preparing a biodegradable polymer composition, said method comprising melt mixing a first biodegradable polyester and a masterbatch, wherein said masterbatch has been formed separately by melt mixing in the presence of a transesterification catalyst a polysaccharide, a second biodegradable polyester and a biodegradable polymer having pendant carboxylic acid groups.