replace 'Docmain' with ->name