How to create a Referencing Document