add tomDoc to methods