updated document according to Grigore's comment