renamed swarm to particles