breaking down doc tool for analysis