made feature to have a document in the root of the resource