first draft of doc rendering