shouldn't this method return the doc?

currently it returns true/false