doc for btype