A study on the engineering of thermostable endo-polygalacturonase has opened up a new and efficient way for the production of functional oligosaccharides.