documented brainspawn.py