added structure of doc