added the reference to the correct document