The invention relates to a nutritional composition comprising a Human Milk Oligosaccharide (HMO) having an effect on the promoting, enhancement or improvement of the short term memory of the subjects in infants and/or young children. The composition can be an infant formula. The HMO may be 2FL, Di FL and/or LNT and or LNnT or combinations thereof.