added different formats of document