they were probably wiped out in droves , until enough of them banded together to form part of a functioning organ , a brain , and had the bright idea , no pun planned there , of integrating with the host system .