The _______ is the part of the brain that works as the “master switchboard” for the endocrine system.

A. hypothalamus
B. pituitary gland
C. pancreas
D. thyroid