A method of producing an oligosaccharide selected from Galβ-3GalNAcβ-3Gal, Galβ-3GalNAcβ-3Galα-X, Galβ-3GalNAcβ-3Galβ-X, Galβ-3GalNAcβ-3Galβ-allyl, Galβ-3GalNAcβ-3Galβ-propragyl, Galβ-3GalNAcβ-3Galα-4Galβ-4Gal (Globopentaose), Galβ-3GalNAcβ-3Galα-4Galβ-4Galα-X, Galβ-3GalNAcβ-3Galα-4Galβ-4Galβ-X, Galβ-3GalNAcβ-3Galα-4Galβ-4Galβ-allyl, and Galβ-3GalNacβ-3Galα-4Galβ-4Galβ-propargyl, wherein said oligosaccharide is produced by a microorganism comprising an heterologous lgtD gene from Haemophilus influenzae of SEQ ID NO:3 or a sequence having at least 80% identity thereof.