bat and doc