refactored docfile
debug