added brainiac logic, and more