Ganglia are connected into a what?