new structure of doc