deleted the old swarm2.cpp