a diagram of a brain function