working on the general swarm pattern.