first draft of brain class